﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace Zoomtel.Entity.BIZ
{
    [Table("T_BIZ_ITEM")]
    public class ItemEntity: EntityBaseWithMdInfo,BaseEntity
    {
        [Description("主键")]

        [Key]
        public string ItemId { get; set; }

        [Description("产品编码")]

        public string ItemCode { get; set; }

        [Description("产品名称 测评标题")]

        public string ItemName { get; set; }


        [Description("产品备注 说明")]

        public string ItemRemark { get; set; }

        [Description(" 小程序路径")]

        public string ItemUrl { get; set; }

        [Description("所属平台")]

        public string PlatForm { get; set; }

        [Description("图片")]

        public string PicUrl { get; set; }

        [Description("广告厂商")]

        public string ADFactory { get; set; }

        [Description("广告代码")]

        public string ADCode { get; set; }

        [Description("广告名称")]

        public string ADName { get; set; }

        [Description("广告URL")]

        public string ADUrl { get; set; }

        [Description("广告播放预计单价")]

        public decimal ItemPrice { get; set; }

        [Description("状态")]

        public string Status { get; set; }
        public new DateTime CreatedTime { get; set; }
        public new string CreatedBy { get; set; }
        public new string Creator { get; set; }
        public new DateTime ModifiedTime { get; set; }
        public new string ModifiedBy { get; set; }
        public new string Modifier { get; set; }

        public string AppId { get; set; }
        public string AppKey { get; set; }
        public string AppName { get; set; }

        [Description("点击数")]

        /// <summary>
        /// 点击数 
        /// </summary>
        public int ClickCount { get; set; }

        [Description("题目数")]

        /// <summary>
        /// 题目数
        /// </summary>
        public int QsCount { get; set; }

        [Description("所属栏目")]
        /// <summary>
        /// 产品所属栏目
        /// </summary>
        public string ItemCat { get; set; }


        [Description("是否推荐 0 否 1是")]
        public int IsTop { get; set; }
    }
}
